//
//  MessageViewController.m
//  WuJieLive
//
//  Created by 张瀚坤 on 2017/10/24.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "MessageViewController.h"

@interface MessageViewController ()

@end

@implementation MessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)setNavi
{
    self.title = @"消息";
    [self.navigationController.navigationBar setBarTintColor:[UIColor whiteColor]];
}

- (void)setUI
{
    UIView * view  = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight)];
    [self.view addSubview:view];
    
    UIImageView * image = [[UIImageView alloc]init];
    [view addSubview:image];
    image.image = Image(@"icon_空白页_消息");
    [image mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(view);
        make.top.offset(200);
        make.size.mas_offset(CGSizeMake(65, 70));
    }];
    
    UILabel * label = [[UILabel alloc]init];
    [view addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(view);
        make.top.equalTo(image.mas_bottom).offset(10);
    }];
    label.textColor = TextLessImportColor;
    label.text = @"暂时还没有消息哦~";
    label.font = FontSize(15);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
